package com.dayatang.hrm.compensation.domain;

import java.util.Date;

import com.dayatang.commons.domain.EntityRepository;

public interface SalaryCalculateItemSettingRepository extends
		EntityRepository<SalaryCalculateItemSetting, Long> {

	SalaryCalculateItemSetting get(SalaryCalculateItem salaryCalItem,
			Date queryDate);

	SalaryItemSetting get(SalaryItem salaryItem, Date queryDate);

	boolean isNameAlreadyUsedInSameSalaryAccountSuiteExceptSelf(String name, SalaryAccountSuite salaryAccountSuite,
			Date fromDate, Date toDate, SalaryCalculateItemSetting selfSetting);

	SalaryCalculateItemSetting getPure(
			SalaryCalculateItemSetting salaryCalculateItemSetting);
}
